package com.choosefine.it.worker.model;

import com.choosefine.it.basedata.model.UserInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import org.springframework.data.mongodb.core.mapping.Document;
import com.choosefine.it.base.Base;

@ApiModel(value="工人发布找工作实体",description="")
@Document(collection="qh_worker_publish_findwork_info")
public class FindWork extends Base {

    private static final long serialVersionUID = 1L;
    
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qh_findwork.id
     *
     * @mbggenerated
     */
    @ApiModelProperty(value="唯一标识序号",required=false)
    private Integer id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qh_findwork.uuid
     *
     * @mbggenerated
     */
    @ApiModelProperty(value="帐号唯一标识符",required=false)
    private String uuid;
    /**
     * 发布人的名称
     */
    @ApiModelProperty(value="当前用户名称",required=true)
    private String userName;
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qh_findwork.work_type_id
     *
     * @mbggenerated
     */
    /**
     * 单个 id 第二版修改为 ，多个
     * 
     * update by juchengyang 2017/2/14
     */
    @ApiModelProperty(value="工种Id序号(可多个，用“,”分隔)",required=true)
    private String workTypeId;
    /**
     * 单个 名称 第二版修改为 ，多个
     * 
     * update by juchengyang 2017/2/14
     */
    @ApiModelProperty(value="工种名称(可多个，用“/”分隔)",required=true)
    private String workTypeName; //工作类型名称

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qh_findwork.work_area_ids
     *
     * @mbggenerated
     */
//    @ApiModelProperty(value="区域Id编号组合",required=true)
//    private String workAreaIds;
    /**
     * 区域名称多个 1000-1001/2000-2001-2002(抚州市/下沙区)
     */
//    @ApiModelProperty(value="区域名称编号组合",required=true)
//    private String workAreaNames;
    @ApiModelProperty(value = "省编号", required = true)
    private String provinceCode;
    @ApiModelProperty(value = "省名称", required = true)
    private String provinceName;
    @ApiModelProperty(value = "市编号", required = true)
    private String cityCode;
    @ApiModelProperty(value = "市名称", required = true)
    private String cityName;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qh_findwork.expect_salary
     *
     * @mbggenerated
     */
    @ApiModelProperty(value="期望薪资",required=true)
    private BigDecimal expectSalary;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qh_findwork.settle_type
     *
     * @mbggenerated
     */
    @ApiModelProperty(value="结算方式",required=true)
    private String settleType;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qh_findwork.publish_time
     *
     * @mbggenerated
     */
    @ApiModelProperty(value="发布的时间",required=false)
    private Long publishTime;


    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qh_findwork.verify_status
     *
     * @mbggenerated
     */
    @ApiModelProperty(value="发布状态（0未审核1通过2未通过）",required=false)
    private Integer verifyStatus;


    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qh_findwork.description
     *
     * @mbggenerated
     */
    @ApiModelProperty(value="描述，可用于一些数据迁移做标识辅助",required=false)
    private String description;
    
   /* *//**
     * 2016.11.22 dzq 发布人创建时间，用于计算工龄 
     *//*
    @ApiModelProperty(value="创建时间，用于计算工龄",required=false)
    private Long UCT;*//*yuxin2.27*/

    @ApiModelProperty(value="电话1",required=false)
    private String firstPhone;
    @ApiModelProperty(value="电话2",required=false)
    private String secondPhone;

    @ApiModelProperty(value="发布编号",required=true)
    private String releaseNum;
    
    /**
     * 应第二版要求，此字段 由“发布人”改为操作员编号
     * 2017/2/14 juchengyang
     */
    @ApiModelProperty(value="操作员编号",required=false)
    private String publisher;
    
    /**
     * 第二版，添加字段  详细说明
     * 2017/2/14 juchengyang
     */
    @ApiModelProperty(value="详细说明",required=false)
    private String describe;
    
    @ApiModelProperty(value="技术证书名称：格式：木工证/水工证",required=true)
    private String skillCertificateName; 

    /**
     * 第二版，添加字段  反馈信息
     * 2017/2/14 juchengyang
     */
    @ApiModelProperty(value="反馈信息",required=false)
    private String reason;
    
    @ApiModelProperty(value="0求职1停止求职",required=false)
    private Integer publishStatus;
    
    @ApiModelProperty(value="收藏数",required=false)
    private int favoriteCount;
    @ApiModelProperty(value = "用户信息")/*yuxin2.25*/
    private UserInfo userInfo;

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column qh_findwork.id
     *
     * @param id the value for qh_findwork.id
     *
     * @mbggenerated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column qh_findwork.uuid
     *
     * @return the value of qh_findwork.uuid
     *
     * @mbggenerated
     */
    public String getUuid() {
        return uuid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column qh_findwork.uuid
     *
     * @param uuid the value for qh_findwork.uuid
     *
     * @mbggenerated
     */
    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }


    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column qh_findwork.work_type_id
     *
     * @return the value of qh_findwork.work_type_id
     *
     * @mbggenerated
     */
    public String getWorkTypeId() {
        return workTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column qh_findwork.work_type_id
     *
     * @param workTypeId the value for qh_findwork.work_type_id
     *
     * @mbggenerated
     */
    public void setWorkTypeId(String workTypeId) {
        this.workTypeId = workTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column qh_findwork.expect_salary
     *
     * @return the value of qh_findwork.expect_salary
     *
     * @mbggenerated
     */
    public BigDecimal getExpectSalary() {
        return expectSalary;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column qh_findwork.expect_salary
     *
     * @param expectSalary the value for qh_findwork.expect_salary
     *
     * @mbggenerated
     */
    public void setExpectSalary(BigDecimal expectSalary) {
        this.expectSalary = expectSalary;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column qh_findwork.settle_type
     *
     * @return the value of qh_findwork.settle_type
     *
     * @mbggenerated
     */
    public String getSettleType() {
        return settleType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column qh_findwork.settle_type
     *
     * @param settleType the value for qh_findwork.settle_type
     *
     * @mbggenerated
     */
    public void setSettleType(String settleType) {
        this.settleType = settleType == null ? null : settleType.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column qh_findwork.publish_time
     *
     * @return the value of qh_findwork.publish_time
     *
     * @mbggenerated
     */
    public Long getPublishTime() {
        return publishTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column qh_findwork.publish_time
     *
     * @param publishTime the value for qh_findwork.publish_time
     *
     * @mbggenerated
     */
    public void setPublishTime(Long publishTime) {
        this.publishTime = publishTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column qh_findwork.verify_status
     *
     * @return the value of qh_findwork.verify_status
     *
     * @mbggenerated
     */
    public Integer getVerifyStatus() {
        return verifyStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column qh_findwork.verify_status
     *
     * @param verifyStatus the value for qh_findwork.verify_status
     *
     * @mbggenerated
     */
    public void setVerifyStatus(Integer verifyStatus) {
        this.verifyStatus = verifyStatus;
    }


    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column qh_findwork.description
     *
     * @return the value of qh_findwork.description
     *
     * @mbggenerated
     */
    public String getDescription() {
        return description;
    }
    

    public String getFirstPhone() {
		return firstPhone;
	}

	public void setFirstPhone(String firstPhone) {
		this.firstPhone = firstPhone;
	}

	public String getSecondPhone() {
		return secondPhone;
	}

	public void setSecondPhone(String secondPhone) {
		this.secondPhone = secondPhone;
	}

	/**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column qh_findwork.description
     *
     * @param description the value for qh_findwork.description
     *
     * @mbggenerated
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getWorkTypeName() {
		return workTypeName;
	}

	public void setWorkTypeName(String workTypeName) {
		this.workTypeName = workTypeName;
	}

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getReleaseNum() {
		return releaseNum;
	}

	public void setReleaseNum(String releaseNum) {
		this.releaseNum = releaseNum;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public String getSkillCertificateName() {
		return skillCertificateName;
	}

	public void setSkillCertificateName(String skillCertificateName) {
		this.skillCertificateName = skillCertificateName;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public Integer getPublishStatus() {
		return publishStatus;
	}

	public void setPublishStatus(Integer publishStatus) {
		this.publishStatus = publishStatus;
	}

	public int getFavoriteCount() {
		return favoriteCount;
	}

	public void setFavoriteCount(int favoriteCount) {
		this.favoriteCount = favoriteCount;
	}


}
